package gwt.trading.client.geometry;

/**
 * @author Iulian Costan (iulian.costan@gmail.com)
 *
 */
public class Spacing {

	public static final Spacing DEFAULT = new Spacing(5);
	
	private int verticalSpacing;

	public Spacing(int verticalSpacing) {
		this.verticalSpacing = verticalSpacing;
	}

	public int getVerticalSpacing() {
		return verticalSpacing;
	}

	/**
	 * Constructs a <code>String</code> with all attributes
	 * in name = value format.
	 *
	 * @return a <code>String</code> representation 
	 * of this object.
	 */
	public String toString()
	{
	    final String TAB = "    ";
	    
	    String retValue = "";
	    
	    retValue = "Spacing ( "
	        + super.toString() + TAB
	        + "verticalSpacing = " + this.verticalSpacing + TAB
	        + " )";
	    
	    return retValue;
	}
	
}
